package com.zwj.controller.dto;

import com.zwj.pojo.Course;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : 朱文杰
 * @Create 2023/2/23 14:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto implements Serializable {

    private int id;
    private String username;
    private String name;
    private String sex;
    private String phone;
    private String email;
    private String cover;
    private List<Course> courses;

}
